//
//  SearchCell.m
//  XDCommonApp
//
//  Created by XD-XY on 3/13/14.
//  Copyright (c) 2014 XD-XY. All rights reserved.
//

#import "SearchCell.h"
#import "XDTools.h"
#import "XDHeader.h"
@implementation SearchCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
        [self makeView];
    }
    return self;
}

-(void)makeView
{
    //tab_button3_notOn@2x 160 98
    self.headerIamgeView = [[UIImageView alloc] initWithFrame:CGRectMake(15, (60-19)/2.0f,38/2,38/2)];
    _headerIamgeView.backgroundColor = [UIColor clearColor];
    
    self.titleLabel = [[UILabel alloc] initWithFrame:CGRectMake(width_x(_headerIamgeView)+10, 0, 270, 60)];
    _titleLabel.backgroundColor = [UIColor clearColor];
    _titleLabel.textColor = TEXTBLACKCOLORE;
    _titleLabel.font = [UIFont systemFontOfSize:15];
    
    [self addSubview:_headerIamgeView];
    [self addSubview:_titleLabel];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
